﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Votes.aspx.cs" Inherits="Pages_Votes" %>
<%@ Import Namespace="CoyoEden" %>
<%@ Register Src="~/Views/VoteList.ascx" TagName="VoteList" TagPrefix="uc" %>
<asp:content id="Content1" contentplaceholderid="cphBody" runat="Server">
	<div class="nav">
		<h3>麦麦报擂台</h3>
	</div>
	<uc:VoteList ID="VoteList1" runat="server" />
	<div class="sep"></div>
	<div id="toolsWrapper" style="display:none;">
		<div id="popupBox"></div>
	</div>
	<script type="text/javascript">
	<!--
		$(document).ready(function() {
			if (VoteList) {
				VoteList.Init({
					Asmx: "<%=Utils.AbsoluteWebRoot %>App_Services/Vote.asmx/",
					InitPagerStr: '<%=InitPagerStr %>',
					ViewPath: "<%=VoteListViewPath %>"
				});
				if (VoteList.InitPager == "") return;
				var initPager = $.evalJSON(VoteList.InitPager);
				SimplePager.Init(initPager, VoteList.Select);
			}
		});

	//-->
	</script>
</asp:content>

